projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9791641
)
listbox: Don't emit selected-rows-changed, etc. during destruction
author
Debarshi Ray
<debarshir@gnome.org>
Sun, 18 Dec 2016 08:43:38 +0000
(09:43 +0100)
committer
Debarshi Ray
<debarshir@gnome.org>
Mon, 19 Dec 2016 17:05:51 +0000
(18:05 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=776012
gtk/gtklistbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtklistbox.c
b/gtk/gtklistbox.c
index f3c101ccfbabeec0f090b08a006a8cb50ec44391..6580a8f793c242e12e9e96dec56751efbc2a5ec5 100644
(file)
--- a/
gtk/gtklistbox.c
+++ b/
gtk/gtklistbox.c
@@
-2549,7
+2549,7
@@
gtk_list_box_remove (GtkContainer *container,
if (was_visible && gtk_widget_get_visible (GTK_WIDGET (box)))
gtk_widget_queue_resize (widget);
- if (was_selected)
+ if (was_selected
&& !gtk_widget_in_destruction (widget)
)
{
g_signal_emit (box, signals[ROW_SELECTED], 0, NULL);
g_signal_emit (box, signals[SELECTED_ROWS_CHANGED], 0);